/**
 * Copyright (c) 2005-2012 https://github.com/zhangkaitao
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 */
package com.aiwei.tdjk.serviceManager.serviceType.repository;


import com.aiwei.tdjk.common.reposiotry.base.BaseRepository;
import com.aiwei.tdjk.serviceManager.serviceType.entity.ServiceType;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * <p>User: Zhang Kaitao
 * <p>Date: 13-2-4 下午3:00
 * <p>Version: 1.0
 */
public interface ServiceTypeRepository extends BaseRepository<ServiceType, Long>,JpaSpecificationExecutor<ServiceType> {

    ServiceType findByName(String name);

//    ServiceType findByMobilePhoneNumber(String mobilePhoneNumber);
//
//    ServiceType findByEmail(String email);
//
//    Page<ServiceType> findByUsername(String username, Pageable pageable);



}
